<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <title>Title</title>
</head>
<body>
<form action="/upload/music" method="post" enctype="multipart/form-data">
    <input type="text" name="mandarin">
    <br>
    <input type="file" name="file" >
    <br>
    <input type="submit" value="上传" class="btn btn-success">
</form>
[[${filename}]]
<br>
<img th:src="@{${filename}}" alt="图片">
</body>
</html>